import request from "@/util/request.js";

export function reqGetBookCategoryTreeList() {
    return request({
        url: '/book/category/tree-list',
        method: 'get'
    })
}
export function reqCreateBookCategory(data) {
    return request({
        url: '/book/category',
        method: 'post',
        data
    })
}
export function reqUpdateBookCategory(data) {
    return request({
        url: '/book/category',
        method: 'put',
        data
    })
}
